package com.hwp.mybatisplus.service.impl;

import com.hwp.mybatisplus.entity.User;
import com.hwp.mybatisplus.mapper.UserMapper;
import com.hwp.mybatisplus.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author hwp
 * @since 2023-02-13
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Autowired(required = false)
    private UserMapper userMapper;


    public List<User> list(){
        return userMapper.selectList(null);
    }


}
